home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 23 / CU Amiga - Super CD-ROM 23 (June 1998).iso / CreatingGames / Utilities / Misc / GMS / GMSDev / Includes / system / globalbase.i < prev    next >
Encoding:
Text File  |  1997-11-19  |  2.4 KB  |  67 lines

  1.     IFND    SYSTEM_GLOBALBASE_I
  2. SYSTEM_GLOBALBASE_I  SET 1
  3.  
  4. **
  5. **  $VER: globalbase.i V0.9B
  6. **
  7. **  Definition of the dpkernel global base structure.
  8. **
  9. **  (C) Copyright 1996-1997 DreamWorld Productions.
  10. **      All Rights Reserved
  11. **
  12.  
  13.     IFND    EXEC_LIBRARIES_I
  14.     INCDIR  'INCLUDES:'
  15.     include 'exec/libraries.i'
  16.     ENDC
  17.  
  18.     ;This is completely private, only modules can access these values.
  19.  
  20.     STRUCTURE    GVBaseV1,LIB_SIZE
  21.     WORD    gb_ScreenFlip       ;Reserved.
  22.     LONG    gb_SegList          ;Private.
  23.     WORD    gb_OldMouseX1       ;Private.
  24.     WORD    gb_OldMouseY1       ;Private.
  25.     WORD    gb_OldMouseX2       ;Private.
  26.     WORD    gb_OldMouseY2       ;Private.
  27.     WORD    gb_VBLPosition      ;Private.
  28.     BYTE    gb_ScrSwitch        ;Private.
  29.     BYTE    gb_Destruct         ;Private.
  30.     LONG    gb_RandomSeed       ;Random seed.  No need to alter.
  31.     WORD    gb_BlitterUsed      ;0 = Free, 1 = Grabbed.
  32.     WORD    gb_BlitterPriority  ;0 = NoPriority, 1 = Priority.
  33.     APTR    gb_CurrentScreen    ;
  34.     APTR    gb_Ticks            ;Vertical blank ticks counter.
  35.     WORD    gb_HSync            ;Private.
  36.     LONG    gb_SysObjects       ;System object list (master).
  37.     BYTE    gb_DebugActive      ;Set if debugger is currently active.
  38.     BYTE    gb_ScrBlanked       ;Set if screen is currently blanked.
  39.     WORD    gb_Version          ;The version of this GMS.
  40.     WORD    gb_Revision         ;The revision of this GMS.
  41.     APTR    gb_ScreenList       ;List of shown screens, starting from back.
  42.     APTR    gb_ChildSysObjects  ;System object list (hidden & children).
  43.     APTR    gb_ReferenceDir     ;List of files in the register directory.
  44.     APTR    gb_ReferenceList    ;List of object references.
  45.     APTR    gb_ScreensModule    ;Pointer to module.
  46.     APTR    gb_BlitterModule    ;Pointer to module.
  47.     APTR    gb_FileModule       ;Pointer to module.
  48.     APTR    gb_KeyModule        ;Required by monitor modules.
  49.     APTR    gb_ScreensBase      ;Module base.
  50.     APTR    gb_BlitterBase      ;Module base.
  51.     APTR    gb_FileBase         ;Module base.
  52.     LONG    gb_KeyBase          ;Required by monitor modules.
  53.     APTR    gb_SoundModule      ;Pointer to module.
  54.     APTR    gb_SoundBase        ;Module base.
  55.     APTR    gb_ModList          ;List of modules.
  56.     APTR    gb_EventArray       ;Array of event nodes.
  57.     LONG    gb_FlipSignal       ;Signal mask.
  58.     APTR    gb_FlipTask         ;Screen flip task.
  59.     LABEL    DPKBASE_SIZEOF
  60.  
  61.    STRUCTURE    SScreen,0
  62.     APTR    SS_Next             ;Pointer to screen in front of this one.
  63.     APTR    SS_Screen           ;Pointer to this screen's data structure.
  64.     LABEL    SS_SIZEOF
  65.  
  66.   ENDC ;SYSTEM_GLOBALBASE_I
  67.